package net.hn.hnms.biz.project.domain;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@Table(name = "legal_person", schema = "xmgl", catalog = "huaneng-manage")
public class LegalPerson extends BaseModel implements Serializable {

    @ApiModelProperty(value = "id")
    @TableField(value = "legal_person_id", fill = FieldFill.INSERT)
    @TableId(type = IdType.ASSIGN_UUID)
    private String legalPersonId;

    @ApiModelProperty(value = "法人编号")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String legalPersonCode;
    @ApiModelProperty(value = "法人名称")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String legalPersonName;
    @ApiModelProperty(value = "法人身份证")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String identityCode;
    @ApiModelProperty(value = "单位名称")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String company;
    @ApiModelProperty(value = "单位注册地址")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String companyAddress;
    @ApiModelProperty(value = "联系电话")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String telephone;
    @ApiModelProperty(value = "注册资本")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal registerCapital;
    @ApiModelProperty(value = "开户行名称")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String bankName;
    @ApiModelProperty(value = "银行账号")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String bankCode;
    @ApiModelProperty(value = "纳税人识别号")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String taxpayerCode;
    @ApiModelProperty(value = "企业类型")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String companyType;
    @ApiModelProperty(value = "有无固定期限（0无 1有）")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String isFixedTerm;
    @ApiModelProperty(value = "法人职务")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String position;
    @ApiModelProperty(value = "企业状态")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String companyState;
    @ApiModelProperty(value = "企业规模")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Integer companyScale;
    @ApiModelProperty(value = "经营范围")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String operatingRange ;
}
